Component({
    properties: {
        name: String,
        size: {
            type: Number,
            value: 22
        },
        color: String
    },
    methods: {
        onClick() {
            this.triggerEvent('click');
        }
    }
})